package com.zrar.ak.gkpt.dao;

import com.zrar.ak.gkpt.model.bo.BusinessSchemeBasicsBO;
import com.zrar.ak.gkpt.model.bo.BusinessSchemeInfoListBO;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @InterfaceName: IBusinessSchemeBasicsDao
 * @Description: 方案细化基础信息表Dao层
 * @Author: CaoTao
 * @Create: 2020/04/10
 */
@Repository("businessSchemeBasics")
public interface IBusinessSchemeBasicsDao extends Mapper<BusinessSchemeBasicsBO> {

    /**
     * 根据建设单位查询信息
     * @param unitId
     * @return
     */
    int selectByUnitId(String unitId);

    Integer querySchemeShowNum(Map map);

    List<BusinessSchemeInfoListBO> pagingSchemeInfoList(Map map);

    BusinessSchemeBasicsBO queryStatusByUnitId(String unitId);
}
